import request from '@/utils/request'

// 提交提示词查询大模型接口
export function aiModel(data) {
  return request({
    url: '/prompt/aiModel',
    method: 'post',
    data: data,
    timeout: 120000
  })
}

export function uploadFile(data) {
  return request({
    url: '/prompt/uploadFile',
    method: 'post',
    data: data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}

export function queryBranchBankConfig() {
  return request({
    url: '/prompt/queryBranchBankConfig',
    method: 'post'
  })
}
